<template>
	<view>
		<navSearchBar title="活动单详细"></navSearchBar>
		<myRichText :htmlContent="htmlContent"></myRichText>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title:"",
				htmlContent:""
			};
		},
		onLoad() {
			let id = this.$Route.query.id
			this.getActive(id)
		},
		methods:{
			async getActive(id) {
				let res 
				res = await this.$api.activeC()
				const {title,content} = res.data.data
				this.title = title
				this.htmlContent = content
			}
		}
	}
</script>

<style lang="scss" scoped>
</style>
